import  Vue from 'vue'
import Vuex from 'vuex'
import  state from './state.js'
import user from './modules/user'
import getters from './getters'

Vue.use(Vuex)


const store = new Vuex.Store({
  modules: {
    app,
    user,
    state
  },getters
})
export default  store
